package com.ojoin.trade.t0loan_core.web.domain;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ojoin.trade.common.utils.json.RMBDisplaySerializer;
import com.ojoin.trade.common.web.domain.IDentifiable;

public class TbT0LoanFinalApplication implements IDentifiable, Serializable {
    private Integer id;

    private Integer idOfTbMerchantUser;

    private Integer idOfTbMerchantUserOfCreditor; //授信保理公司对应九盈用户id
    
    private String materials;

    private String fee;

    private String ratio;

    private String expectedLoanTime;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String rmDailyThreshold;

    @JsonSerialize(using = RMBDisplaySerializer.class)
    private String rmSingleThreshold;

    private String qryprintscreen;

    private String operationType;

    private String contractfilepath;

    private String accchangeapplyfilepath;

    private String usercommitapplyfilepath;

    private Date rowUpdateTime;

    private Date rowCreateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIdOfTbMerchantUser() {
        return idOfTbMerchantUser;
    }

    public void setIdOfTbMerchantUser(Integer idOfTbMerchantUser) {
        this.idOfTbMerchantUser = idOfTbMerchantUser;
    }

    public String getMaterials() {
        return materials;
    }

    public void setMaterials(String materials) {
        this.materials = materials == null ? null : materials.trim();
    }

    public String getFee() {
        return fee;
    }

    public void setFee(String fee) {
        this.fee = fee == null ? null : fee.trim();
    }

    public String getRatio() {
        return ratio;
    }

    public void setRatio(String ratio) {
        this.ratio = ratio == null ? null : ratio.trim();
    }

    public String getExpectedLoanTime() {
        return expectedLoanTime;
    }

    public void setExpectedLoanTime(String expectedLoanTime) {
        this.expectedLoanTime = expectedLoanTime == null ? null : expectedLoanTime.trim();
    }

    public String getRmDailyThreshold() {
        return rmDailyThreshold;
    }

    public void setRmDailyThreshold(String rmDailyThreshold) {
        this.rmDailyThreshold = rmDailyThreshold == null ? null : rmDailyThreshold.trim();
    }

    public String getRmSingleThreshold() {
        return rmSingleThreshold;
    }

    public void setRmSingleThreshold(String rmSingleThreshold) {
        this.rmSingleThreshold = rmSingleThreshold == null ? null : rmSingleThreshold.trim();
    }

    public String getQryprintscreen() {
        return qryprintscreen;
    }

    public void setQryprintscreen(String qryprintscreen) {
        this.qryprintscreen = qryprintscreen == null ? null : qryprintscreen.trim();
    }

    public String getOperationType() {
		return operationType;
	}

	public void setOperationType(String operationType) {
		this.operationType = operationType;
	}

	public String getContractfilepath() {
        return contractfilepath;
    }

    public void setContractfilepath(String contractfilepath) {
        this.contractfilepath = contractfilepath == null ? null : contractfilepath.trim();
    }

    public String getAccchangeapplyfilepath() {
        return accchangeapplyfilepath;
    }

    public void setAccchangeapplyfilepath(String accchangeapplyfilepath) {
        this.accchangeapplyfilepath = accchangeapplyfilepath == null ? null : accchangeapplyfilepath.trim();
    }

    public String getUsercommitapplyfilepath() {
        return usercommitapplyfilepath;
    }

    public void setUsercommitapplyfilepath(String usercommitapplyfilepath) {
        this.usercommitapplyfilepath = usercommitapplyfilepath == null ? null : usercommitapplyfilepath.trim();
    }

    public Date getRowUpdateTime() {
        return rowUpdateTime;
    }

    public void setRowUpdateTime(Date rowUpdateTime) {
        this.rowUpdateTime = rowUpdateTime;
    }

    public Date getRowCreateTime() {
        return rowCreateTime;
    }

    public void setRowCreateTime(Date rowCreateTime) {
        this.rowCreateTime = rowCreateTime;
    }
    
	public Integer getIdOfTbMerchantUserOfCreditor() {
		return idOfTbMerchantUserOfCreditor;
	}

	public void setIdOfTbMerchantUserOfCreditor(Integer idOfTbMerchantUserOfCreditor) {
		this.idOfTbMerchantUserOfCreditor = idOfTbMerchantUserOfCreditor;
	}
	
	@Override
	public String getTableName() {
		return "tb_t0_loan_final_application";
	}
	
	public static String getDefTableName() {
		return "tb_t0_loan_final_application";
	}
	
}